package com.jl.slick.objects.logic;

import org.newdawn.slick.Graphics;

public abstract class FX //pass in graphics or gc?
{
	public final void bNorth(Graphics g) //Game will call this when loaded
	{
		this.behaviorNorth(g);
		this.behaviorAll(g);
	}
	public abstract void behaviorNorth(Graphics g); //this is the user defined behavior on entering (or attempting to enter) from above the tile
	
	
	public final void bSouth(Graphics g) 
	{
		this.behaviorSouth(g);
		this.behaviorAll(g);
	}
	public abstract void behaviorSouth(Graphics g);
	
	
	public final void bEast(Graphics g) 
	{ 
		this.behaviorEast(g);
		this.behaviorAll(g);
	}
	public abstract void behaviorEast(Graphics g);
	
	
	public final void bWest(Graphics g) 
	{
		this.behaviorWest(g);
		this.behaviorAll(g);
	}
	public abstract void behaviorWest(Graphics g);

	
	public abstract void behaviorAll(Graphics g);
	
	public abstract void behaviorIn(Graphics g); 


}
